package vo;

import model.Orders;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Author one world
 * @Date 2020/9/23 0023 23:44
 */
public class OrderVo implements Serializable {
    private String order_id;
    private String order_no;
    private String goods_name;//商品名
    private String phone;
    private String user;
    private String address;
    private String description;
    private String total_amount;
    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public OrderVo() {
    }

    public OrderVo(String order_id, String order_no, String name, String phone, String user, String address, String description, String total_amount, String state) {
        this.order_id = order_id;
        this.order_no = order_no;
        this.goods_name=name;
        this.phone = phone;
        this.user = user;
        this.address = address;
        this.description = description;
        this.total_amount = total_amount;
        this.state = state;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public OrderVo(String order_id, String order_no, String name, String phone,String user, String address, String description, String total_amount) {
        this.order_id = order_id;
        this.order_no = order_no;
        this.user=user;
        this.goods_name = name;
        this.phone = phone;
        this.address = address;
        this.description = description;
        this.total_amount=total_amount;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getOrder_no() {
        return order_no;
    }

    public void setOrder_no(String order_no) {
        this.order_no = order_no;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "OrderVo{" +
                "order_id='" + order_id + '\'' +
                ", order_no='" + order_no + '\'' +
                ", goods_name='" + goods_name + '\'' +
                ", phone='" + phone + '\'' +
                ", user='" + user + '\'' +
                ", address='" + address + '\'' +
                ", description='" + description + '\'' +
                ", total_amount='" + total_amount + '\'' +
                '}';
    }
}
